package cate.common.table.activity.happyflop.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.happyflop.row.HappyFlopSkillRow;
import easy.java.dev.note.NoteClass;

@NoteClass("翻翻乐-技能 Sheet")
public class HappyFlopSkillSheet extends ESheet<HappyFlopSkillRow> {
    @Override
    public String getSheetName() {
        return "技能";
    }


    public HappyFlopSkillRow findRow(int skillTid, int level, int group) {
        for (HappyFlopSkillRow row : this.getList()) {
            if (row.skillTid == skillTid && row.level == level && row.group == group) {
                return row;
            }
        }
        return null;
    }

}
